package com.qf.j2112.utils;

import com.qf.j2112.po.Address;
import com.qf.j2112.vo.ClientAddressVo;

public class AddressUtil {
    public static ClientAddressVo addressVo(Address address){
        ClientAddressVo addressVo = new ClientAddressVo();
        addressVo.setAddress(address.getAddress());
        addressVo.setAddressDetail(address.getAddressDetail());
        addressVo.setAddressid(address.getAddressid());
        addressVo.setAddressidName(address.getAddressidName());
        addressVo.setIsDefault(address.getIsDefault());
        addressVo.setPhonenum(address.getPhonenum());
        return addressVo;
    }
}
